const router = require('koa-router')()
const diseaseType = require('../controller/diseaseType')

router.post('/addType',diseaseType.add)
router.get('/getAllType',diseaseType.getAll)
router.get('/delType',diseaseType.del)
router.post('/updType',diseaseType.upd)
router.get('/getDiseaseClass',diseaseType.getDiseaseClass)

module.exports = router